package com.design.softwaredesign.mapper;

import com.design.softwaredesign.entity.Good;
import com.design.softwaredesign.entity.IwantTrace;
import com.design.softwaredesign.front.IwantInfo;
import com.design.softwaredesign.vo.DataVo;
import org.springframework.stereotype.Repository;

import java.awt.*;
import java.util.ArrayList;
import java.util.List;

@Repository
public interface IwantMapper {
    public void addIwant(IwantTrace iwantTrace);

    public List<Good> getIwantList(String userId, String query);

    public Integer deleteIwantTrace(IwantTrace iwantTrace);

    public int existIwant(String goodId, String userId);
}
